package org.wlw.web.mapper;

import java.util.List;

public interface BaseMapper<T> {
    public void add(T t);

    public void update(T t);

    public void delete(int id);

    public T load(int id);

    public List<T> find(T t);

    public List<T> list(T t);

    public int findByCount(T t);
}
